<?php

namespace App\Controller\LazyCommon;

use BaseExt\Captcha;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Symfony\Component\HttpFoundation\Request;
use App\Base\BaseController;

class UserCaptchaController extends BaseController
{

    /**
     * @route("getCaptchaImg",name="getCaptchaImg")
     */
    public function getCaptchaImg(Request $request)
    {
        $captcha = new Captcha($request);
        $captcha->doimg();
        die;
    }
}
